package com.gitee.mars.vaccin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 后台日志操作表实体类
 *
 * @author: wq
 * @date: 2021-02-03
 */
@Data
@TableName("admin_operate_log")
@Accessors(chain = true)
public class AdminOperateLog implements Serializable {


    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * IP
     */
    @TableField("ip")
    private String ip;

    /**
     * 管理员ID
     */
    @TableField("sys_user_id")
    private Integer sysUserId;

    /**
     * 操作日志
     */
    @TableField("content")
    private String content;

    /**
     * 操作时间
     */
    @TableField("create_time")
    private Date createTime;

}
